<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</meta>
<title>F.js演示</title>
<script type="text/javascript" src="../../1st.js"></script>
</head>
<body>
<p></p><p></p>

<script type="text/javascript">
F.js("http://yclass.com/libs/yclass1.1.js",function(){
	var p = new Yobj.Point(0, 0, 0);
	var dis = p.distance(Yobj.Point(52,100));
	//dis 为 112.71202242884297, 表示两个点的距离为 112.71202242884297
	alert(dis);
});

F.js("http://www.1kjs.com/lib/1k.js", function(){
	alert($1kjs.g("p"));
});

F.js("jq", function(){
    $("p").html('这是用JQ生成的代码').hide(1000).show(1000);
});
</script>
</body>
</html>